package com.donleo.oauth2.uaa.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.donleo.oauth2.common.model.Permission;
import com.donleo.oauth2.common.model.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author  liangd
 * @since  2021-03-10 14:19
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

    List<Permission> findPermissionByUserId(Long userId);
}